<template>
  <div class="main">
    <button @click="$router.push('/car')">点击跳转</button>
    
  </div>
</template>
<script setup>
import { useRouter } from 'vue-router';

const router = useRouter();
const back = () => {
  router.go(-1);
};
</script>
<script>
export default {
  name: 'detail',
};
</script>
<style lang="scss" scoped>
.main {
  width: 100%;
  height: 100%;
  background-color: bisque;
}
</style>
